package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.VipReport;

import java.util.*;
public class VipReportExample extends SgExample<VipReportExample.Criteria> {
    public static final Class<VipReport> beanClass = VipReport.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn date;
    public static EntityColumn totalBonus;
    public static EntityColumn vipTotalBonus;
    public static EntityColumn reportId;
    public static EntityColumn lvBossBonus;
    public static EntityColumn vipOwnerBonus;
    public static EntityColumn lvOwnerBonus;
    public static EntityColumn vipAgentBonus;
    public static EntityColumn vipBossBonus;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        date = listMap.get("date");
        totalBonus = listMap.get("totalBonus");
        vipTotalBonus = listMap.get("vipTotalBonus");
        reportId = listMap.get("reportId");
        lvBossBonus = listMap.get("lvBossBonus");
        vipOwnerBonus = listMap.get("vipOwnerBonus");
        lvOwnerBonus = listMap.get("lvOwnerBonus");
        vipAgentBonus = listMap.get("vipAgentBonus");
        vipBossBonus = listMap.get("vipBossBonus");
        }

    public VipReportExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected VipReportExample.Criteria createCriteriaInternal() {
        return new VipReportExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public VipReportExample.Criteria andDateIsNull() {
            return isNull(date);
        }

        public VipReportExample.Criteria andDateIsNotNull() {
            return isNotNull(date);
        }

        public VipReportExample.Criteria andDateEqualTo(String value) {
            return equalTo(date, value);
        }

        public VipReportExample.Criteria andDateNotEqualTo(String value) {
            return notEqualTo(date, value);
        }

        public VipReportExample.Criteria andDateGreaterThan(String value) {
            return greaterThan(date, value);
        }

        public VipReportExample.Criteria andDateGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(date, value);
        }

        public VipReportExample.Criteria andDateLessThan(String value) {
            return lessThan(date, value);
        }

        public VipReportExample.Criteria andDateLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(date, value);
        }

        public VipReportExample.Criteria andDateLike(String value) {
            return like(date, value);
        }

        public VipReportExample.Criteria andDateNotLike(String value) {
            return notLike(date, value);
        }

        public VipReportExample.Criteria andDateIn(List<String> values) {
            return in(date, values);
        }

        public VipReportExample.Criteria andDateNotIn(List<String> values) {
            return notIn(date, values);
        }

        public VipReportExample.Criteria andDateBetween(String value1, String value2) {
            return between(date, value1, value2);
        }

        public VipReportExample.Criteria andDateNotBetween(String value1, String value2) {
            return notBetween(date, value1, value2);
        }
        public VipReportExample.Criteria andTotalBonusIsNull() {
            return isNull(totalBonus);
        }

        public VipReportExample.Criteria andTotalBonusIsNotNull() {
            return isNotNull(totalBonus);
        }

        public VipReportExample.Criteria andTotalBonusEqualTo(String value) {
            return equalTo(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusNotEqualTo(String value) {
            return notEqualTo(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusGreaterThan(String value) {
            return greaterThan(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusLessThan(String value) {
            return lessThan(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusLike(String value) {
            return like(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusNotLike(String value) {
            return notLike(totalBonus, value);
        }

        public VipReportExample.Criteria andTotalBonusIn(List<String> values) {
            return in(totalBonus, values);
        }

        public VipReportExample.Criteria andTotalBonusNotIn(List<String> values) {
            return notIn(totalBonus, values);
        }

        public VipReportExample.Criteria andTotalBonusBetween(String value1, String value2) {
            return between(totalBonus, value1, value2);
        }

        public VipReportExample.Criteria andTotalBonusNotBetween(String value1, String value2) {
            return notBetween(totalBonus, value1, value2);
        }
        public VipReportExample.Criteria andVipTotalBonusIsNull() {
            return isNull(vipTotalBonus);
        }

        public VipReportExample.Criteria andVipTotalBonusIsNotNull() {
            return isNotNull(vipTotalBonus);
        }

        public VipReportExample.Criteria andVipTotalBonusEqualTo(String value) {
            return equalTo(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusNotEqualTo(String value) {
            return notEqualTo(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusGreaterThan(String value) {
            return greaterThan(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusLessThan(String value) {
            return lessThan(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusLike(String value) {
            return like(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusNotLike(String value) {
            return notLike(vipTotalBonus, value);
        }

        public VipReportExample.Criteria andVipTotalBonusIn(List<String> values) {
            return in(vipTotalBonus, values);
        }

        public VipReportExample.Criteria andVipTotalBonusNotIn(List<String> values) {
            return notIn(vipTotalBonus, values);
        }

        public VipReportExample.Criteria andVipTotalBonusBetween(String value1, String value2) {
            return between(vipTotalBonus, value1, value2);
        }

        public VipReportExample.Criteria andVipTotalBonusNotBetween(String value1, String value2) {
            return notBetween(vipTotalBonus, value1, value2);
        }
        public VipReportExample.Criteria andReportIdIsNull() {
            return isNull(reportId);
        }

        public VipReportExample.Criteria andReportIdIsNotNull() {
            return isNotNull(reportId);
        }

        public VipReportExample.Criteria andReportIdEqualTo(Long value) {
            return equalTo(reportId, value);
        }

        public VipReportExample.Criteria andReportIdNotEqualTo(Long value) {
            return notEqualTo(reportId, value);
        }

        public VipReportExample.Criteria andReportIdGreaterThan(Long value) {
            return greaterThan(reportId, value);
        }

        public VipReportExample.Criteria andReportIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(reportId, value);
        }

        public VipReportExample.Criteria andReportIdLessThan(Long value) {
            return lessThan(reportId, value);
        }

        public VipReportExample.Criteria andReportIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(reportId, value);
        }

        public VipReportExample.Criteria andReportIdIn(List<Long> values) {
            return in(reportId, values);
        }

        public VipReportExample.Criteria andReportIdNotIn(List<Long> values) {
            return notIn(reportId, values);
        }

        public VipReportExample.Criteria andReportIdBetween(Long value1, Long value2) {
            return between(reportId, value1, value2);
        }

        public VipReportExample.Criteria andReportIdNotBetween(Long value1, Long value2) {
            return notBetween(reportId, value1, value2);
        }
        public VipReportExample.Criteria andLvBossBonusIsNull() {
            return isNull(lvBossBonus);
        }

        public VipReportExample.Criteria andLvBossBonusIsNotNull() {
            return isNotNull(lvBossBonus);
        }

        public VipReportExample.Criteria andLvBossBonusEqualTo(String value) {
            return equalTo(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusNotEqualTo(String value) {
            return notEqualTo(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusGreaterThan(String value) {
            return greaterThan(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusLessThan(String value) {
            return lessThan(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusLike(String value) {
            return like(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusNotLike(String value) {
            return notLike(lvBossBonus, value);
        }

        public VipReportExample.Criteria andLvBossBonusIn(List<String> values) {
            return in(lvBossBonus, values);
        }

        public VipReportExample.Criteria andLvBossBonusNotIn(List<String> values) {
            return notIn(lvBossBonus, values);
        }

        public VipReportExample.Criteria andLvBossBonusBetween(String value1, String value2) {
            return between(lvBossBonus, value1, value2);
        }

        public VipReportExample.Criteria andLvBossBonusNotBetween(String value1, String value2) {
            return notBetween(lvBossBonus, value1, value2);
        }
        public VipReportExample.Criteria andVipOwnerBonusIsNull() {
            return isNull(vipOwnerBonus);
        }

        public VipReportExample.Criteria andVipOwnerBonusIsNotNull() {
            return isNotNull(vipOwnerBonus);
        }

        public VipReportExample.Criteria andVipOwnerBonusEqualTo(String value) {
            return equalTo(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusNotEqualTo(String value) {
            return notEqualTo(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusGreaterThan(String value) {
            return greaterThan(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusLessThan(String value) {
            return lessThan(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusLike(String value) {
            return like(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusNotLike(String value) {
            return notLike(vipOwnerBonus, value);
        }

        public VipReportExample.Criteria andVipOwnerBonusIn(List<String> values) {
            return in(vipOwnerBonus, values);
        }

        public VipReportExample.Criteria andVipOwnerBonusNotIn(List<String> values) {
            return notIn(vipOwnerBonus, values);
        }

        public VipReportExample.Criteria andVipOwnerBonusBetween(String value1, String value2) {
            return between(vipOwnerBonus, value1, value2);
        }

        public VipReportExample.Criteria andVipOwnerBonusNotBetween(String value1, String value2) {
            return notBetween(vipOwnerBonus, value1, value2);
        }
        public VipReportExample.Criteria andLvOwnerBonusIsNull() {
            return isNull(lvOwnerBonus);
        }

        public VipReportExample.Criteria andLvOwnerBonusIsNotNull() {
            return isNotNull(lvOwnerBonus);
        }

        public VipReportExample.Criteria andLvOwnerBonusEqualTo(String value) {
            return equalTo(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusNotEqualTo(String value) {
            return notEqualTo(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusGreaterThan(String value) {
            return greaterThan(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusLessThan(String value) {
            return lessThan(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusLike(String value) {
            return like(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusNotLike(String value) {
            return notLike(lvOwnerBonus, value);
        }

        public VipReportExample.Criteria andLvOwnerBonusIn(List<String> values) {
            return in(lvOwnerBonus, values);
        }

        public VipReportExample.Criteria andLvOwnerBonusNotIn(List<String> values) {
            return notIn(lvOwnerBonus, values);
        }

        public VipReportExample.Criteria andLvOwnerBonusBetween(String value1, String value2) {
            return between(lvOwnerBonus, value1, value2);
        }

        public VipReportExample.Criteria andLvOwnerBonusNotBetween(String value1, String value2) {
            return notBetween(lvOwnerBonus, value1, value2);
        }
        public VipReportExample.Criteria andVipAgentBonusIsNull() {
            return isNull(vipAgentBonus);
        }

        public VipReportExample.Criteria andVipAgentBonusIsNotNull() {
            return isNotNull(vipAgentBonus);
        }

        public VipReportExample.Criteria andVipAgentBonusEqualTo(String value) {
            return equalTo(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusNotEqualTo(String value) {
            return notEqualTo(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusGreaterThan(String value) {
            return greaterThan(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusLessThan(String value) {
            return lessThan(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusLike(String value) {
            return like(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusNotLike(String value) {
            return notLike(vipAgentBonus, value);
        }

        public VipReportExample.Criteria andVipAgentBonusIn(List<String> values) {
            return in(vipAgentBonus, values);
        }

        public VipReportExample.Criteria andVipAgentBonusNotIn(List<String> values) {
            return notIn(vipAgentBonus, values);
        }

        public VipReportExample.Criteria andVipAgentBonusBetween(String value1, String value2) {
            return between(vipAgentBonus, value1, value2);
        }

        public VipReportExample.Criteria andVipAgentBonusNotBetween(String value1, String value2) {
            return notBetween(vipAgentBonus, value1, value2);
        }
        public VipReportExample.Criteria andVipBossBonusIsNull() {
            return isNull(vipBossBonus);
        }

        public VipReportExample.Criteria andVipBossBonusIsNotNull() {
            return isNotNull(vipBossBonus);
        }

        public VipReportExample.Criteria andVipBossBonusEqualTo(String value) {
            return equalTo(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusNotEqualTo(String value) {
            return notEqualTo(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusGreaterThan(String value) {
            return greaterThan(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusLessThan(String value) {
            return lessThan(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusLike(String value) {
            return like(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusNotLike(String value) {
            return notLike(vipBossBonus, value);
        }

        public VipReportExample.Criteria andVipBossBonusIn(List<String> values) {
            return in(vipBossBonus, values);
        }

        public VipReportExample.Criteria andVipBossBonusNotIn(List<String> values) {
            return notIn(vipBossBonus, values);
        }

        public VipReportExample.Criteria andVipBossBonusBetween(String value1, String value2) {
            return between(vipBossBonus, value1, value2);
        }

        public VipReportExample.Criteria andVipBossBonusNotBetween(String value1, String value2) {
            return notBetween(vipBossBonus, value1, value2);
        }
    }
}